﻿using LY.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LY.Interface
{
    public interface IUserAddressService
    {
        //获取默认地址
        U_UserAddress GetDefaultAddress(int memberId);

        /// <summary>
        /// 获取用户的所有地址
        /// </summary>
        /// <param name="memberId"></param>
        /// <returns></returns>
        List<U_UserAddress> QueryMemberAddresses(int memberId);

        /// <summary>
        /// 获取一个实体
        /// </summary>
        /// <param name="memberId"></param>
        /// <returns></returns>
        U_UserAddress GetAddress(int Id);
    }
}
